Usually, when we talk about the average of a set of numbers, we think of a discrete set of values, like the average of .
Calculus is all about extending discrete concepts to continuous ones, so we can also find the average value of a continuous function.
Consider a function , splitting it into intervals of width .
The average value of a set of numbers is the sum of the numbers divided by the count:
Let's consider what is in a discrete context. It is the number of intervals () we split the function into.
Therefore, it can be represented as the length of the interval divided by :
Therefore, the average value of a function is:
The numerator should look familiar: it is the area under the curve of from to .
For a function that is continuous on the interval and differentiable on , there exists a point in such that:
Basically, it means that somewhere in the interval, the average slope is equal to the exact slope at that point.
The key point is that the numerator should look familiar;
If we let , then the Mean Value Theorem for Integrals states that:
The conceptual way to think about this is that at some point in the interval, the area of the rectangle with the height of the function is equal to the area under the curve.
Calculus was originally developed to solve problems in physics, particularly motion.
Newton developed his version of calculus to describe the motion of objects, especially to tackle the most significant problem of the time: the motion of the planets.
Simultanously, Leibniz developed his version of calculus, known as "infinitesimal calculus", which is the basis for modern calculus.
That's why it's essential to learn about motion in calculus, even if you're not interested in physics.
For the purposes of this section, we'll consider motion in one dimension.
Multi-dimensional motion is a bit more complicated, but the concepts are the same.
Multi-dimensional motion is covered in Classical Mechanics, a physics course.
In physics, we often talk about the displacement, velocity, and acceleration of an object.
These are all related to each other, and calculus can help us understand these relationships.
First, let's define these terms:
Displacement is the change in position of an object. It is a vector quantity, meaning it has both magnitude and direction.
Since we're considering motion in one dimension, we can represent displacement as a scalar.
You can think of displacement as the distance between the starting and ending points of an object's motion.
For example, if you have a car that starts at position and ends at position , the displacement is .
Velocity is the rate of change of displacement. It tells us how fast an object is moving and in what direction.
Velocity is also a vector quantity, but in one dimension, it can be represented as a scalar.
Acceleration is the rate of change of velocity. It tells us how quickly an object's velocity is changing.
Acceleration is also a vector quantity, but in one dimension, it can be represented as a scalar.
Let's consider motion of a ball in one dimension. Throw a ball up in the air, and let it fall back down.
The displacement of the ball at time is given by the function . This can be thought of the height of the ball above where it was thrown.
We'll consider the motion of the ball from time to time .
According to physics, objects fall under the influence of gravity, which causes them to accelerate downwards at a constant rate, usually denoted by .
Therefore, we can write:
Next, we can find the velocity of the ball at time by integrating the acceleration function:
refers to the initial velocity of the ball, and can be denoted by or .
Finally, we can find the displacement of the ball at time by integrating the velocity function:
This equation is very common, and because of the expressions , , , , and , it is known as the "SUVAT" equations.
Alternate notation
Some textbooks (such as MIT's OCW 8.01SC) use a different notation for the time variables.
Instead of using as the dummy variable for the integrals, they use .
And instead of using as the final time, they just use :
This concept is heavily discussed here.
The study of motion is usually known as kinematics. It is distinct from dynamics, which studies the forces that cause motion instead of the motion itself.
One of the most important applications of integrals is to find the net change of a function.
Consider a water tank that is being filled at some rate, and emptied at some other rate.
We can represent the rate of change of the water level as a function , defined as the difference between the rate of inflow and the rate of outflow.
Integrating this function from some time interval will give us how much the water level has changed in that time interval.
In other words, it yields the "net change" of the water level.
A company makes the revenue of dollars per week (where is the number of weeks since the company started).
In the zeroth week, the company made dollars.
Interpret the following equation:
Let's first interpret the integral part of the equation. Since is the rate of money made, the integral of from to is the total money made from week to week .
The zeroth week is already given as dollars, so the meaning of the equation is:
The total money made from the zeroth week to the fifth week is dollars.
Let the population of a city grow at a rate of people per year (where is the number of years since the city was founded).
At , the population of the city was people.
Write an expression for the population of the city at .
Evaluate the expression.
The rate of change of the population is given by , and the population at is people.
To get the remaining population from to , we need to integrate the rate of change of the population from to .
Then, we add the population at to get the total population at .
To evaluate the expression, we can make use of the integral's adjacency;
Next, we can evaluate the integral:
Therefore, the population of the city at is approximately people.
We already know that the integral of a function from to gives us the area under the curve of from to .
We can generalize this concept. Instead of saying "under the curve", we can say "between the curve and the -axis".
This way, we can change "-axis" to another function .
Recall that the area under a curve can be approximated by a Riemann sum, i.e. a sum of rectangles.
Consider two functions, and :
The height of the rectangle between the curve is , and the width is .
Therefore, the Riemann sum for the area between the curves is:
Taking the limit as gives us the integral:
This integral gives us the area between the curves and from to .